package v1

import "gin-admin/service/v1/system"

type ServiceAppV1 struct {
	CaptchaService  system.CaptchaService
	UserService     system.UserService
	RoleService     system.RoleService
	UserRoleService system.UserRoleService
	MenuService     system.MenuService
}

func NewServiceApp() *ServiceAppV1 {
	return &ServiceAppV1{
		CaptchaService:  *system.CaptchaServiceApp,
		UserService:     *system.UserServiceApp,
		RoleService:     *system.RoleServiceApp,
		UserRoleService: *system.UserRoleServiceApp,
		MenuService:     *system.MenuServiceApp,
	}
}
